package com.zr.inquiry.service;


import com.zr.inquiry.model.Supplier;
import com.zr.inquiry.model.vo.*;
import com.zr.util.AllRecords;
import com.zr.util.ResultVO;

import javax.validation.Valid;
import java.util.List;

/**
 * Created by Administrator on 2019/1/7.
 */
public interface InquiryService {
    ResultVO<List<Supplier>> getSupplierName(Integer legalPersonId);

    ResultVO<AllRecords> selectMaterial(SelectMaterialVo selectMaterialVo);
    ResultVO<AllRecords> searchPartnerPage(SupplierSelectVo supplierSelectVo);
    ResultVO<List<InquiryAddVo>> addInquiry(InquiryAddVo inquiryAddVo);

    ResultVO<AllRecords> inquiryQueryPage(InquiryListSelectVo inquiryListSelectVo);

    ResultVO inquirySheetSee(InquirySeeVo inquirySeeVo);
    /**
     * 通过订单号修改备件明细表
     */
    ResultVO<InquiryUpdateVo> inquiryUpdateByRequestForQuotationId(@Valid InquiryUpdateVo inquiryUpdateVo);

    ResultVO inquiryUpdateShenke(@Valid InquiryUpdateShenheStatusVo inquiryUpdateVo);

    ResultVO inquiryUpdateShenPi(@Valid InquiryUpdateShenPiStatusVo inquiryUpdateVo);

    ResultVO inquiryUpdateZuofei(@Valid InquiryUpdateZuofeiVo inquiryUpdateVo);
}
